package com.sc.VenusQueryBeta.adapter.account.xiaofei;

import android.support.annotation.Nullable;

import com.chad.library.adapter.base.BaseViewHolder;
import com.sc.VenusQueryBeta.R;
import com.sc.VenusQueryBeta.adapter.BaseCompatAdapter;
import com.sc.VenusQueryBeta.model.bean.account.xiaofei.XiaoFei01Bean;

import java.util.List;

/**
 * 賬戶信息適配器
 */

public class XiaoFei01Adapter extends BaseCompatAdapter<XiaoFei01Bean.SunList,BaseViewHolder> {


    public XiaoFei01Adapter(int layoutResId, @Nullable List<XiaoFei01Bean.SunList> data) {
        super(layoutResId, data);
    }

    public XiaoFei01Adapter(int layoutResId) {
        super(layoutResId);
    }

    @Override
    protected void convert(BaseViewHolder helper, XiaoFei01Bean.SunList item) {
        helper.setText(R.id.tv_jituan,item.getRoomname());//集團名稱
        helper.setText(R.id.tv_jituan_money,item.getChipsnum());//金額

    }

}
